﻿/*
 * Created by SharpDevelop.
 * User: IEscarro
 * Date: 8/28/2009
 * Time: 10:37 AM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

using System;
using Miming.Util;

namespace Miming.Model
{
	/// <summary>
	/// Description of Privilege.
	/// </summary>
	public class Privilege
	{
		Module module;
		int id;
		
		public virtual int Id {
			get { return id; }
			set { id = value; }
		}
		
		public virtual Module Module {
			get { return module; }
			set { module = value; }
		}
		string name;
		
		public virtual string Name {
			get { return name; }
			set { name = value; }
		}
		string command;
		
		public virtual string Command {
			get { return command; }
			set { command = value; }
		}
		
		public Privilege()
		{
		}
		
		public Privilege(string name, string command)
		{
			this.name = name;
			this.command = command;
		}
	}
}
